package by.android.khan.task;

import java.util.List;

import org.json.JSONException;
import org.json.JSONObject;

import by.android.khan.content.bo.Playlist;
import by.android.khan.task.common.ListModelTask;
import by.android.khan.task.common.ParamCallback;

public class ListPlaylistTask extends ListModelTask<Playlist> {

	public ListPlaylistTask(ParamCallback<List<Playlist>> paramCallback) {
		super(paramCallback);
	}

	@Override
	public Playlist createModel(JSONObject jsonObject) throws JSONException {
		return new Playlist(jsonObject);
	}

}
